package com.gotobject.junit.internal.runners.model;

import org.junit.internal.runners.model.MultipleFailureException;

import java.util.List;

/**
 * @author huascar.sanchez@gmail.com (Huascar A. Sanchez)
 */
public class ExplosionException extends MultipleFailureException {
    private static final long serialVersionUID = 6902275245186647800L;
    private final String message;

    public ExplosionException(String message, List<Throwable> errors) {
        super(errors);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
